<%@ page language="java" contentType="text/html;charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
<%--
  Created by IntelliJ IDEA.
  User: 轩大晨
  Date: 2019/7/15
  Time: 11:41
  To change this template use File | Settings | File Templates.
--%>


<div>
    <label >时刻类型：</label>
    <!-- 列出所有的角色分类 -->
    <%--<select name="userRole" id="userRole"></select>--%>
    <select name="category_id" id="category_id">
        <c:if test="${categoryList != null }">
            <option value="0">--请选择--</option>
            <c:forEach var="category" items="${categoryList}">
                <option <c:if test="${category.category_id == 0 }">selected="selected"</c:if>
                        value="${category.category_id}">${category.category_name}</option>
            </c:forEach>
        </c:if>
    </select>
    <font color="red"></font>
</div>
<div class="box">
    <span class="H">有什么新鲜事想告诉大家？</span>
    <textarea name="text" id="text"></textarea>
    <label for="text" id="txt">输入一段话，点发布会有惊喜哦！</label>
    <span id="button">发布</span>
</div>

<div class="box dynamic" id="order">
    <span class="time">2016-12-07 21:20</span>
    <div class="user">
        <img src="http://cdn.attach.qdfuns.com/notes/pics/201612/07/212742m96ugh87fzxhuuxp.jpg" width=50; alt="头像">
        <span class="name">漫步未来</span>
    </div>
    <ul class="list">
        <li>未来的你，一定会感谢现在拼命的自己。</li>
    </ul>
</div>

<%@include file="/WEB-INF/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/useradd.js"></script>
